import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/api/sys/login',
    method: 'post',
    data
  })
}
<<<<<<< HEAD
export function getuserimg(data) {
  return request({
    url: `/api/sys/user/${data}`

  })
}
export function getInfo(data) {
=======
export function userinfo(data) {
>>>>>>> a65ad1838d1975b3ee62005f8061eb6c31417121
  return request({
    url: '/api/sys/profile',
    method: 'post',
    data
  })
}
<<<<<<< HEAD
=======
export function userphoto(id) {
  return request({
    url: `/api/sys/user/${id}`,
    method: 'get'

  })
}
>>>>>>> a65ad1838d1975b3ee62005f8061eb6c31417121
